package com.gk.panda.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@TableName("patrolman")
@ApiModel("巡护人员实体")
public class Patrolman {

    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "id")
    private Integer id;

    @TableField("org_id")
    @ApiModelProperty(value = "所属机构id")
    private Integer orgId;

    @ApiModelProperty(value = "人员数量")
    private Integer number;

    @ApiModelProperty(value = "人员名单")
    private String names;
}
